#include "TextObject.h"
#include "SpriteList.h"
#include <GL/glfw.h>
#include <iostream>
#include "glQuickText.h"

TextObject::TextObject(int tx, int ty, int tz, char *tcad)
{
	x = tx;
	y = ty;
	z = tz;
	strcpy(cad,tcad);
}

void TextObject::Draw(void)
{	
	 glQuickText::printfAt(x,y,0.0f ,1.0f , cad );
};